package cate.game.role.res.expire.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBExpireNotice;
import cate.game.client.msg.id.MsgIdEatHero;
import cate.game.role.Role;
import cate.game.role.res.expire.RoleExpireNotice;
import easy.java.dev.note.NoteField;

import java.util.Map;

@ClientMsg(title = "过期提醒数据 の 返回")
public class ExpireNoticeDataResp implements MsgOutput {

    @NoteField("过期提醒数据")
    public RoleExpireNotice expireNotice;

    public ExpireNoticeDataResp() {
    }

    public ExpireNoticeDataResp(Role role) {
        this.expireNotice = role.getRes().expireNotice;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBExpireNotice.DATA_RESP;
    }
}
